/*
*************************************************************************************************************************
*                                                           
*                                                           
*                                     Alle rechte vorbehalten  -All rights reserved
*
*************************************************************************************************************************
*
* @Filename___:  main.c
* @Author_____:  raoj
* @Function ___:  
*
*************************************************************************************************************************
*
* Date________:  2017-03-16
* Variant______: 
* Revision_____: 
* State _______: is_Released[ no ]  or is_debug[ yes ]
* 
*************************************************************************************************************************
*
*************************************************************************************************************************
* List of modefiy
*
* History~
*        2017-3-16:raoj
*
*************************************************************************************************************************
*/
#ifndef _TYPEDEF_H
#define _TYPEDEF_H

#ifndef NULL
   // #define NULL    (0)
#endif

typedef unsigned  char   OSELK_STK; 
typedef unsigned char INT8U;                      /* Unsigned 8 bit quantity */ 
typedef unsigned int   INT16U;                   /* Unsigned 16 bit quantity */                          
typedef unsigned long  INT32U;                   /* Unsigned 32 bit quantity*/

typedef INT16U          E_taskId;
typedef unsigned int ssize_t;

typedef unsigned char uint8_t;
typedef unsigned int  uint32_t;

#define ture  (uint8)(0x01)
#define false (uint8)(0)
typedef unsigned char Boolean;


typedef unsigned int  uint16_t;
typedef signed char   sint8;
typedef signed int    sint16;
    
typedef unsigned char uint8;
typedef unsigned int  uint16;

typedef unsigned char byte;
typedef unsigned int  word;
typedef unsigned long dword;
typedef unsigned long dlong[2];


typedef enum {e_disable=0,e_enable=1}ENABLE;//使能类型

typedef enum {e_on=0,e_off=1}SWITCH;//开关类型

typedef enum {SW_ON=0,SW_OFF=1}SW;//开关类型

typedef void* handle;

#endif